let AskApp = new Vue({
    el:"#askApp",
    data:{
        asks:[],
        pageInfo:{},
        pageSize:5,
        isShow:false
    },
    methods:{
        loadAsk(pageNum){
            axios.get('/portal/question/ask/'+pageNum+'/'+this.pageSize)
                .then(result=>{
                    let r = result.data
                    console.log(r)
                    if(r.code == OK){
                        this.pageInfo = r.data
                        this.asks = r.data.list
                    }
                })
        }
    },
    created(){
        this.loadAsk(1)
    }
})